package com.order.api.dao;

import com.order.api.po.TblMenu;
import com.order.api.po.TblMenuExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface TblMenuDao {
    long countByExample(TblMenuExample example);

    int deleteByExample(TblMenuExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TblMenu record);

    int insertSelective(TblMenu record);

    List<TblMenu> selectByExample(TblMenuExample example);

    TblMenu selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TblMenu record, @Param("example") TblMenuExample example);

    int updateByExample(@Param("record") TblMenu record, @Param("example") TblMenuExample example);

    int updateByPrimaryKeySelective(TblMenu record);

    int updateByPrimaryKey(TblMenu record);
}